package mvp.com.bbc.rcjavaretrofitdaggermvp.app.service;

import android.app.Service;
import android.content.Intent;
import android.os.IBinder;
import android.support.annotation.Nullable;
import android.util.Log;

/**
 * Created by ${cbf} on 2017/12/2.
 */

public class ShareService extends Service {
    @Nullable
    @Override
    public IBinder onBind(Intent intent) {
        return null;
    }

    @Override
    public void onCreate() {
        super.onCreate();
    }

    @Override
    public int onStartCommand(Intent intent, int flags, int startId) {
        String test = intent.getStringExtra("test");
        intent.putExtra("yyy","屌你");
        Log.v("cbf", "stringE=" + test);
        return super.onStartCommand(intent, flags, startId);
    }
}
